package cho114366.basic;

public class J01_Professor {

	public static void main(String[] args) {
		// 1. 변수 선언
				String departnumber;
				String departname;
				String departobject;
				
				
				String departnumber1;
				String departname1;
				String departobject1;
				
				String departnumber2;
				String departname2;
				String departobject2;
				
				String departnumber3;
				String departname3;
				String departobject3;
				
				departnumber = "301";
				departname = "이순신";
				departobject = "프로그래밍";
				
				departnumber1 = "445";
				departname1 = "정약용";
				departobject1 = "의상디자인";
				
				departnumber2 = "556";
				departname2 = "김유신";
				departobject2 = "식품영양";
				
				departnumber3 = "504";
				departname3 = "이성계";
				departobject3 = "철학";

				System.out.println("교수번호\t\t이름\t\t전공분야");
				System.out.println("---------------------------------------");
				System.out.print(departnumber);
				System.out.print("\t\t"+departname);
				System.out.println("\t\t"+departobject);
				
				System.out.println("---------------------------------------");
				System.out.print(departnumber1);
				System.out.print("\t\t"+departname1);
				System.out.println("\t\t"+departobject1);
				
				System.out.println("---------------------------------------");
				System.out.print(departnumber2);
				System.out.print("\t\t"+departname2);
				System.out.println("\t\t"+departobject2);
				
				System.out.println("---------------------------------------");
				System.out.print(departnumber3);
				System.out.print("\t\t"+departname3);
				System.out.println("\t\t"+departobject3);
	}

}

